<?
//<meta http-equiv="content-type" content="text/html; charset=utf-8">
include "head.php";
?>
<p><a href="index.php">HOME</a> / <a href="setup.php">Setup</a> / <a href="core_tables.php">Core tables</a> / <strong><?=$table_name?></strong></p>
<p>
<?
$option['allow_insert'] = true;
$option['allow_update'] = true;
$option['allow_delete'] = true;
$option['print_data_add_a']['CUI'][] = array("href"=>'search_thesaurus.php?table_name=MRCONSO&query_CUI={$row[CUI]}', "target"=>"a", "title"=>"Strings", "label"=>"S", "left"=>"<br>", "right"=>"");
$option['print_data_add_a']['CUI'][] = array("href"=>'search_thesaurus.php?table_name=MRDEF&query_CUI={$row[CUI]}', "target"=>"a", "title"=>"Definition", "label"=>"D", "left"=>"", "right"=>"");
$option['print_data_add_a']['CUI'][] = array("href"=>'view_mrsty.php?cui={$row[CUI]}', "target"=>"a", "title"=>"Semantic type", "label"=>"S", "left"=>"", "right"=>"");
$option['print_data_add_a']['CUI'][] = array("href"=>'concept_viewer.php?query_table=concept_tree&query_bcui={$row[CUI]}&show_cui=1', "target"=>"a", "title"=>"Tree", "label"=>"T", "left"=>"", "right"=>"");

$option['print_data_add_a']['CUI1'][] = array("href"=>'search_thesaurus.php?table_name=MRCONSO&query_CUI={$row[CUI1]}', "target"=>"a", "title"=>"Strings", "label"=>"S", "left"=>"<br>", "right"=>"");
$option['print_data_add_a']['CUI1'][] = array("href"=>'search_thesaurus.php?table_name=MRDEF&query_CUI={$row[CUI]1}', "target"=>"a", "title"=>"Definition", "label"=>"D", "left"=>"", "right"=>"");
$option['print_data_add_a']['CUI1'][] = array("href"=>'view_mrsty.php?cui={$row[CUI1]}', "target"=>"a", "title"=>"Semantic type", "label"=>"S", "left"=>"", "right"=>"");
$option['print_data_add_a']['CUI1'][] = array("href"=>'concept_viewer.php?query_table=concept_tree&query_bcui={$row[CUI1]}&show_cui=1', "target"=>"a", "title"=>"Tree", "label"=>"T", "left"=>"", "right"=>"");

$option['print_data_add_a']['CUI2'][] = array("href"=>'search_thesaurus.php?table_name=MRCONSO&query_CUI={$row[CUI2]}', "target"=>"a", "title"=>"Strings", "label"=>"S", "left"=>"<br>", "right"=>"");
$option['print_data_add_a']['CUI2'][] = array("href"=>'search_thesaurus.php?table_name=MRDEF&query_CUI={$row[CUI2]}', "target"=>"a", "title"=>"Definition", "label"=>"D", "left"=>"", "right"=>"");
$option['print_data_add_a']['CUI2'][] = array("href"=>'view_mrsty.php?cui={$row[CUI2]}', "target"=>"a", "title"=>"Semantic type", "label"=>"S", "left"=>"", "right"=>"");
$option['print_data_add_a']['CUI2'][] = array("href"=>'concept_viewer.php?query_table=concept_tree&query_bcui={$row[CUI2]}&show_cui=1', "target"=>"a", "title"=>"Tree", "label"=>"T", "left"=>"", "right"=>"");


print_list_from_table_name($table_name, $option);
?>
<p>&nbsp;</p>
<?
include "tail.php";
?>